<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>大眼窝拣货单_____{:toDate(time())}______拣货人：</title>
<load href='__PUBLIC__/bootstrap/css/bootstrap.min.css' />
<load href='__PUBLIC__/Css/style.css' />
<style type="text/css">
	.order_info{height:352px;margin-left: 1px;}
	.order_info .row {min-height: 19px;line-height: 19px;}
	.table-bordered table-striped {
		border: 1px dashed black;
	}
	.table th, .table td {
		border-top: 1px dashed black;
	}
</style>
</head>
<body>
<div id="main" class="main" >
		<div class="order_info" >
			<div class="row">
				<div class="span9">
					<table class="table table-condensed table-bordered table-striped">
					<tr> <td colspan=3 class="alert">大眼窝拣货单<a href="__URL__/export_picklist/oid/{$_REQUEST.oid}" class="btn btn-primary offset3"> <i class="icon-download-alt  icon-white"></i>导出CSV</a>
						<button onClick="window.print()" class="offset1 btn btn-primary"><i class="icon-print  icon-white"></i>打印</button>
					</td>
					 </tr>
	                <tr>
	                    <td>序</td><td>类别</td><td>商品名称</td>
	                    <td class="span1">数量</td>
	                </tr>
	                <volist name="orders" id="sa">
	                	<eq name="sa.is_virtual" value="0"><!--非虚拟物品，则打印配货单-->
	                    <tr>
	                        <td>{$i}</td>
	                        <td class="span2">{$sa.cat_id|getModelName='Category'}</td> 
	                        <td class="span8"> <notempty name="sa.product_id">{$sa.pname}<else/>{$sa.sale_title} {$sa.options}</notempty>
	                        </td>
	                        <td>{$sa.number}</td>
	                    </tr>
	                    </eq>
	                </volist>
	            </table>
				</div>
			</div>
		</div>
	

</div>
</body>
</html>
